import App from './App'
import {
	httpRequest
} from "./utils/requset.js"

import Vue from 'vue'
import VueI18n from 'vue-i18n'
import messages from "./locale/index.js"
import "./router/index"
// import uView from "uview-ui";
// Vue.use(uView);
let i18nConfig = {
		locale: uni.getLocale(), // 获取已设置的语言
		messages
	}

Vue.use(VueI18n)

const i18n = new VueI18n(i18nConfig)
Vue.config.productionTip = false
Vue.prototype.$httpRequest = httpRequest


App.mpType = 'app'
const app = new Vue({
	i18n,
	...App
})
app.$mount()
